import 'package:flutter/services.dart';

/// <summary>
/// todo: 常量类
/// author：zwb
/// datetime： 2021/5/31 15:26
/// <summary>
class Constant {
  /// todo：本地json地址
  static String jsonPath = "assets/json/";

  /// todo：本地图片地址
  static String imagesPath = "assets/images/";
}

/// <summary>
/// todo: app信息获取
/// author：zwb
/// datetime： 2021/5/31 15:26
/// <summary>
class AppInfo{

  /// todo：app名称
  static String appName = "";

  /// todo：包名
  static String packageName = "";

  /// todo：版本号
  static String version = "";

  /// todo：编译次数
  static String buildNumber = "";

}

/// <summary>
/// todo: Android、Ios 原生交互常量类
/// <summary>
class ConstantPlatform {
  /// 交互通道名称
  static const platform = const MethodChannel("flutter_platform");

  /// 测试接口
  static const test_code = "test_code";
}